mixin Logger{
  void log(String message){
    print('Log:$message');
  }
}

class UserLog with Logger{
  late final String name;
  UserLog(this.name);

  void show(name){
    log('this is user log message');
  }
}

void main(){
  var user= UserLog('name');
  user.show(user.name);
}